package com.wsd.jing.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @author tom
 * @version 1.0.0
 * @projectName: jing
 * @packageName: com.wsd.jing.annotation
 * @className: ControllerEndpoint
 * @description 业务操作日志注解
 * @createDate 2022/11/12 17:02
 * @copyright 2022/11/12 17:02 www.tom.com Inc. All rights reserved.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ControllerLog {

    /**
     * 操作信息
     *
     * @return
     */
    String action() default "";

    /**
     * 异常信息
     *
     * @return
     */
    String message() default "";
}
